<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="b" uri="/bbs-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'boardDisplay.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<!--[if lt IE 7]> 
	<script type="text/javascript" src="js/ie6png.js"></script>
	<![endif]-->
		<link rel="stylesheet" type="text/css" href="css/header.css">
		<link rel="stylesheet" type="text/css" href="css/pageStyleOne.css">
		<link rel="stylesheet" type="text/css" href="css/footer.css">
		<script type="text/javascript" src="js/parseIcon.js">
</script>
		<script type="text/javascript" src="js/jquery.js">
</script>
		<style type="text/css">
#container {
	width: 960px;
	margin: auto;
}

/**位置、搜索烂*/
#headerBottom {
	float: left;
	width: 958px;
	height: 36px;
	margin: 6px 0 0 0;
	display: inline; /**IE margin加倍Bug*/
	border: solid 1px #CCC;
	background: url(images/search.gif);
}

#headerBottomLeft {
	float: left;
	width: 299px;
	height: 36px;
}

.headerBottomLeft1 {
	float: left;
	margin: 9px 0 0 3px;
	display: inline;
}

.headerBottomLeft2 {
	float: left;
	margin: 2px 0 0 3px;
	display: inline;
}

.headerBottomLeft3 {
	float: left;
	margin: 10px 0 0 3px;
	font-size: 13px;
	color: #555;
	display: inline;
}

.headerBottomLeft3 a:link {
	font-size: 13px;
	color: #555;
}

.headerBottomLeft3 a:hover {
	font-size: 13px;
	color: #555;
	text-decoration: underline;
}

.headerBottomLeft3 a:visited {
	font-size: 13px;
	color: #555;
}

#content {
	width: 958px;
	float: left;
	font-size: 13px;
}

#content1 {
	width: 950px;
	float: left;
	margin: 10px 0 10px 5px;
	display: inline;
}

#content1 span {
	float: left;
	font-size: 14px;
	color: #666;
}

#content2 {
	width: 950px;
	float: left;
}

#content2-1 {
	float: left;
	margin: 5px 0 0 5px;
	display: inline;
}

#content2-2 {
	float: left;
	margin: 2px 0 0 5px;
	display: inline;
}

#content3 {
	width: 950px;
	margin: 10px 0 0 5px;
	float: left;
	display: inline;
}

#content4 {
	width: 950px;
	float: left;
	margin: 10px 0 0 8px;
	display: inline;
}

#content4-1 {
	width: 950px;
	float: left;
}

#content4-1 span {
	float: left;
	display: inline;
}

.content4-2 {
	width: 950px;
	float: left;
	margin: 10px 0 5px 0px;
	display: inline;
}

.content4-2-1 {
	width: 950px;
	float: left;
	margin: 0px 0 5px 0;
	display: inline;
	text-align: left;
}

.content4-2-2 {
	float: left;
}

#content4-3 {
	width: 950px;
	float: left;
}

#content4-3 span {
	float: left;
}
</style>
	</head>

	<body onload="parseIcon()">
		<div id="container">
			<%@ include file="styleJsp/header.jsp"%>
			<div id="headerBottom">
				<div id="headerBottomLeft">
					<span class="headerBottomLeft1"><a href="index"><img
								src="images/home_icon.png" /> </a> </span>
					<span class="headerBottomLeft2"><img
							src="images/dot_arrow.png"> </span>
					<span class="headerBottomLeft3"><a href="index">论坛</a> </span>
					<span class="headerBottomLeft2"><img
							src="images/dot_arrow.png"> </span>
					<span class="headerBottomLeft3"><a
						href="boardDisplayAction_lookOnlyBoardDetails?boardId=<s:property value='board.boardId'/>"><s:property
								value="board.boardName" /> </a> </span>
				</div>
			</div>
			<!-- 中部 -->
			<form action="publishPostAction" method="post">
				<div id="content">
					<div id="content1">
						<span>发表帖子</span>
					</div>
					<input type="hidden" name="boardId"
						value="${param.boardId}">
					<div id="content2">
						<div id="content2-1">
							<select name="postTheme">
								<option>
									选择主题分类
								</option>
								<option value="0">
									普通帖
								</option>
								<option value="1">
									投票贴
								</option>
							</select>
						</div>
						<div id="content2-2">
							<input name="postTitle"
								style="width: 360px; height: 25px; text-align: left;" />
						</div>
					</div>
					<div id="content3">
						<b:editTable height="230" width="930" />
					</div>
					<div id="content4">
						<div id="content4-3">
							<span><input type="submit" value="发表" /> </span>
						</div>
					</div>
				</div>
			</form>
			<%@ include file="styleJsp/footer.jsp"%>
		</div>
	</body>
</html>
